package cloudEntity.dto.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: Smart School
 * @ClassName SmartUserRelaxDetailsTypeDTO
 * @description:
 * @author: 陈智博
 * @create: 2025-04-16 10:17
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SmartUserRelaxDetailsUpdateTypeDTO {
    private Integer sysUserRelaxDetailsId;
    //学生uid，绑定外键
    private String sysUserRelaxDetailsUid;
    private String sysUserRelaxDetailsName;
    //智慧校园学生请假原因
    private String sysUserRelaxDetailsReason;
    //智慧校园学生批假人ID
    private Long sysUserRelaxDetailsCreater;
    //智慧校园请假类型
    private Integer sysUserRelaxDetailsType;
    //学生创建请假时间创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sysUserRelaxBeginTime;
    //学生请假时间结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sysUserRelaxEndTime;

}
